package org.managarm.jmanaintlib.machine;

import org.managarm.jmanavalib.core.VaMthInfo;

public class VmCellDelegate extends VmCell {
	public VaMthInfo mthInfo;
	public VmCell objectCell;
	
	public VmCellDelegate(VaMthInfo method, VmCell object) {
		this.mthInfo = method; this.objectCell = object;
	}

	@Override public VaMthInfo delegateMethod() throws VmError {
		return mthInfo;
	}
	@Override public VmCell delegateObject() throws VmError {
		return objectCell;
	}
}
